/**
 * @作者 chengxinxiaofeng
 * @时间 2019年7月15日10:30:20
 */
package com.chinaunicom.tour.sys.mapper;

import java.util.List;

import com.chinaunicom.tour.sys.entity.SysDepartment;
import com.chinaunicom.tour.sys.model.SysDepartmentModel;

public interface SysDepartmentMapper {

    int add(SysDepartment entity);

    int delete(String id);

    int update(SysDepartment entity);

    SysDepartment findById(String id);

    List<SysDepartment> findList(SysDepartmentModel queryModel);

    List<SysDepartment> pageQuery(SysDepartmentModel queryModel);

    int pageQueryCount(SysDepartmentModel queryModel);
}